package routers

import (
	"github.com/gin-gonic/gin"
	v1 "teacher-helper/api/v1"
)

func InitDepartRouter(Router *gin.RouterGroup)  {
	DepartRouter := Router.Group("department")
	DepartRouter.GET("getDepartmentList", v1.GetDepartmentList)
	DepartRouter.GET("getAllDepartmentTree", v1.GetAllDepartmentTree)
	DepartRouter.POST("addOneDepart", v1.AddOneDepart)
	DepartRouter.PUT("updateDepart", v1.UpdateDepartment)
	DepartRouter.DELETE("deleteDepart", v1.DeleteDepartment)
}
